//
//  WMMethod.h
//  WishMark
//
//  Created by EvanZ on 14-3-7.
//  Copyright (c) 2014年 EvanZ. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "Reachability.h"
#import "Define.h"

@interface Methods : NSObject

+ (NSString *)md5:(NSString *)str;
+ (NSString *)imageToNSString:(UIImage *)image;
+ (UIImage *)stringToUIImage:(NSString *)string;

+ (BOOL)isExistenceNetwork;
+ (BOOL) checkNetworkIsValid;

+ (id)safeResponseObj:(id)responseObj;

@end
